unit Unit40; 

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls;

type

  { TForm40 }

  TForm40 = class(TForm)
    ComboBox1: TComboBox;
    Label1: TLabel;
    procedure ComboBox1Select(Sender: TObject);
    procedure FormShow(Sender: TObject);
  private
    { private declarations }
  public
    tipo : string;
  end; 

var
  Form40: TForm40; 

implementation

{ TForm40 }

procedure TForm40.FormShow(Sender: TObject);
begin
  ComboBox1.Text := '';
end;

procedure TForm40.ComboBox1Select(Sender: TObject);
begin
  tipo := ComboBox1.Text;
  Close;
end;

initialization
  {$I unit40.lrs}

end.

